<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
</script>
</head>
<body>

<p>段落文本</p>
<script>
var p = document.getElementsByTagName("p")[0];
p.onmouseover = function(i){
    setTimeout(function(){
        alert(p.tagName)
    }, 1000);
}
</script>




</body>
</html>
